<?php

interface CacheInstance {


  public function setPrefix($prefix);

  public function get($key);

  public function set($key, $value, $ttl);

  public function getMulti(array $keys);

  public function setMulti(array $data, $ttl);

  public function delete($key);

  public function increase($key, $step = 1);
  public function decrease($key, $step = 1);
  public function exists($keys);

}